//
//  HEGoodsMenuView.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/11/2.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HEBrandModel.h"

NS_ASSUME_NONNULL_BEGIN

@class HEGoodsMenuView;
@protocol HEGoodsMenuViewDelegate <NSObject>

- (void)menuView:(HEGoodsMenuView *)view didSelectSoltAtIndex:(NSInteger)index isDesc:(BOOL)isDesc;

/** 确定回调 */
- (void)menuView:(HEGoodsMenuView *)menuView didSelectConfirmWithBradIds:(NSString *)brandis minPrice:(NSString *)minPrice maxPrice:(NSString *)maxPrice;

@end

@interface HEGoodsMenuView : UIView

@property (nonatomic, assign) id <HEGoodsMenuViewDelegate> delegate;

@property (nonatomic, strong) NSMutableArray <HEBrandModel *>*brandArr;


/** 快速初始化
 *  maxHeight:下拉列表最大展示高度
 */
- (instancetype)initWithFrame:(CGRect)frame maxHeight:(CGFloat)maxHeight;

@end

NS_ASSUME_NONNULL_END
